﻿using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace EcoSystem
{
    /// <summary>
    /// 条件规则定义项
    /// </summary>
    [NotMapped]
    [Serializable]
    public class RoleConditionItem
    {
        /// <summary>
        /// 参数名
        /// </summary>
        public string SourceName { get; set; }

        /// <summary>
        /// 匹配方式
        /// </summary>
        public RoleMatchType MatchType { get; set; }

        /// <summary>
        /// 匹配规则值
        /// </summary>
        public string RoleValue { get; set; }

    }

}
